package demo.activiti.sys.entity;

import demo.activiti.common.persistence.BaseEntity;

/**
 * 菜单表
 */
public class Menu extends BaseEntity<Menu> {

    /**
     * 菜单名称
     */
    private String name;

    /**
     * 上级菜单
     */
    private Menu parent;

    /**
     * 链接
     */
    private String href;

    /**
     * 图标
     */
    private String icon;

    /**
     * 是否在菜单中显示
     */
    private boolean show;

    /**
     * 权限标识
     */
    private String permission;

    public Menu () {}

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Menu getParent() {
        return parent;
    }

    public void setParent(Menu parent) {
        this.parent = parent;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public boolean isShow() {
        return show;
    }

    public void setShow(boolean show) {
        this.show = show;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }
}
